package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ShopActivity;

/**
 * 优惠活动Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-20
 */
public interface ShopActivityMapper 
{
    /**
     * 查询优惠活动
     * 
     * @param activityId 优惠活动主键
     * @return 优惠活动
     */
    public ShopActivity selectShopActivityByActivityId(Long activityId);

    /**
     * 查询优惠活动列表
     * 
     * @param shopActivity 优惠活动
     * @return 优惠活动集合
     */
    public List<ShopActivity> selectShopActivityList(ShopActivity shopActivity);

    /**
     * 新增优惠活动
     * 
     * @param shopActivity 优惠活动
     * @return 结果
     */
    public int insertShopActivity(ShopActivity shopActivity);

    /**
     * 修改优惠活动
     * 
     * @param shopActivity 优惠活动
     * @return 结果
     */
    public int updateShopActivity(ShopActivity shopActivity);

    /**
     * 删除优惠活动
     * 
     * @param activityId 优惠活动主键
     * @return 结果
     */
    public int deleteShopActivityByActivityId(Long activityId);

    /**
     * 批量删除优惠活动
     * 
     * @param activityIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopActivityByActivityIds(Long[] activityIds);
}
